import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/public/HomeApp.vue'
import echarts from '../views/public/echarts.vue'

Vue.use(VueRouter)

const routes = [
  /* ---------------------------毕然路由---------------------------------- */
  {
    path:'/',
    name:'login',
    component: () => import('../views/public/Login.vue')
  },
  {
    path: '/home',
    name: 'Home',
    component: Home
  },
  {
    path: '/echarts',
    name: 'echarts',
    component: echarts
  },
  {
    path: '/fxlx',
    name: 'fxlx',
    component: () => import('../views/bhrcommponents/mapfx.vue')
  },
  {
    path: '/wzp',
    name: 'wzp',
    component: () => import('../views/bhrcommponents/wzp.vue')
  },

  {
    path: '/csxtx',
    name: 'csxtx',
    component: () => import('../views/bhrcommponents/es6new.vue')
  },

  {
    path: '/xianmu',
    name: 'xianmu',
    component: () => import('../views/bhrcommponents/projectis')
  },

  {
    path: '/Iframe',
    name: 'Iframe',
    component: () => import('../views/bhrcommponents/Iframe')
  },
  /* ---------------------------大龙路由---------------------------------- es6new */
  {
    path:'/test1',
    component: () => import('../views/bigDragon/test.vue')
  },
  {
    path:'/dynamicTable',
    component: () => import('../views/bigDragon/dynamicTable.vue')
  },
  {
    path: '/colorBar',
    name: 'test',
    component: () => import('../views/bigDragon/colorBar.vue')
  },
  {
    path: '/pieCircle',
    component: () => import('../views/bigDragon/pieCircle.vue')
  },
  {
    path:'/baiduMap',
    component: () => import('../views/bigDragon/baiduMap.vue')
  },
  {
    path:'/bMapOrEcharts',
    component: () => import ('../views/bigDragon/bMapAndEcharts.vue')
  },
  {
    path:'/aaa',
    component: () => import ('../views/bigDragon/aaa.vue')
  },
  /* -----------------------------晨光路由-------------------------------- */
  {
    path:'/table',
    component: () => import ('../views/nanyi/table.vue')
  },
  {
    path:'/test000',
    component: () => import ('../views/nanyi/test000.vue')
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
